# encoding: utf-8
# module PyQt5.QtCore
# from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import sip as __sip


from .QFileDevice import QFileDevice

class QFile(QFileDevice):
    """
    QFile()
    QFile(str)
    QFile(QObject)
    QFile(str, QObject)
    """
    def copy(self, p_str, p_str_1=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.copy(str) -> bool
        QFile.copy(str, str) -> bool
        """
        return False

    def decodeName(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.decodeName(QByteArray) -> str
        QFile.decodeName(str) -> str
        """
        return ""

    def encodeName(self, p_str): # real signature unknown; restored from __doc__
        """ QFile.encodeName(str) -> QByteArray """
        return QByteArray

    def exists(self, p_str=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.exists() -> bool
        QFile.exists(str) -> bool
        """
        return False

    def fileName(self): # real signature unknown; restored from __doc__
        """ QFile.fileName() -> str """
        return ""

    def link(self, p_str, p_str_1=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.link(str) -> bool
        QFile.link(str, str) -> bool
        """
        return False

    def open(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.open(QIODevice.OpenMode) -> bool
        QFile.open(int, QIODevice.OpenMode, QFileDevice.FileHandleFlags handleFlags=QFileDevice.DontCloseHandle) -> bool
        """
        return False

    def permissions(self, p_str=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.permissions() -> QFileDevice.Permissions
        QFile.permissions(str) -> QFileDevice.Permissions
        """
        pass

    def remove(self, p_str=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.remove() -> bool
        QFile.remove(str) -> bool
        """
        return False

    def rename(self, p_str, p_str_1=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.rename(str) -> bool
        QFile.rename(str, str) -> bool
        """
        return False

    def resize(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.resize(int) -> bool
        QFile.resize(str, int) -> bool
        """
        return False

    def setFileName(self, p_str): # real signature unknown; restored from __doc__
        """ QFile.setFileName(str) """
        pass

    def setPermissions(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.setPermissions(QFileDevice.Permissions) -> bool
        QFile.setPermissions(str, QFileDevice.Permissions) -> bool
        """
        return False

    def size(self): # real signature unknown; restored from __doc__
        """ QFile.size() -> int """
        return 0

    def symLinkTarget(self, p_str=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        QFile.symLinkTarget() -> str
        QFile.symLinkTarget(str) -> str
        """
        return ""

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


